From: Lars Ingebrigtsen Date: Wed, 21 Jul 2021 11:15:05 +0000 (+0200) Subject: Fix bug-reference.el compilation warning X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18^2~2021 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=92923414a031471d427e84440e29fd8d7e3ea89f;p=emacs.git Fix bug-reference.el compilation warning * lisp/progmodes/bug-reference.el (bug-reference-mode): Silence a compilation warning (bug#49677). --- diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el index 755211b922b..9b9c58eb1f2 100644 --- a/lisp/progmodes/bug-reference.el +++ b/lisp/progmodes/bug-reference.el @@ -345,6 +345,7 @@ and set it if applicable." (defvar gnus-article-buffer) (defvar gnus-original-article-buffer) (defvar gnus-summary-buffer) +(defvar bug-reference-mode) (defun bug-reference--try-setup-gnus-article () (when (and bug-reference-mode ;; Only if enabled in article buffers.